import axios from 'axios';

axios.defaults.baseURL = 'http://localhost:8081'

export const getVmodelsApi = axios.get('/carsys/vehicleModel/getAllVehicleModelStatistics');

export const getNegativeFeedbackApi = axios.get('/carsys/negativeFeedback/getAllNegativeFeedbacks');

export const getTaskTypeAssignmentApi =(month)=>{
  return axios.get(`/carsys/taskTypeAssignmentPercentage/allCompletedAssignmentsCountByTaskType/${month}`);
} 

export const getAcceptedTaskTypeAssignmentApi =(month)=>{
  return axios.get(`/carsys/taskTypeAssignmentPercentage/allAcceptedAssignmentsCountByTaskType/${month}`);
} 